package com.zuthub.system.domain;

import com.zuthub.common.annotation.Excel;
import com.zuthub.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 政策法规对象 sys_policy
 * 
 * @author zuthub
 * @date 2021-04-02
 */
public class SysPolicy extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 政策法规id */
    private Long policyId;

    /** 内容 */
    @Excel(name = "内容")
    private String policyContent;

    public void setPolicyId(Long policyId) 
    {
        this.policyId = policyId;
    }

    public Long getPolicyId() 
    {
        return policyId;
    }
    public void setPolicyContent(String policyContent) 
    {
        this.policyContent = policyContent;
    }

    public String getPolicyContent() 
    {
        return policyContent;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("policyId", getPolicyId())
            .append("policyContent", getPolicyContent())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
